package com.su.test;

import java.util.Arrays;
import java.util.Random;

/**
 * @author Li
 * @Date 2023/4/7 16:22
 */
public class RandomTwoArray {
    public static void main(String[] args) {
        int[][] array=new  int[4][3];
        Random random = new Random();
        for (int i =0; i<array.length;i++){
            for (int j=0;j<array[i].length;j++){
                array[i][j]= random.nextInt(10);
            }
        }
        System.out.println(Arrays.toString(array));
        System.out.println(Arrays.deepToString(array));
    }
}
